<?php

class Comment extends CI_Controller {

    function __construct() {

        parent::__construct();
        $this->load->helper('url');
    }

    function index() {

        $this->load->view('create_comment');
    }

    function create() {

        if ($_POST):

            // do database stuff here to save the comment.
            // return false if db failed
            // else

            return true;

        endif;
    }

}

?>